package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order_yahoo_item")
public class OrderYahooItemDo {
    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("order_id")
    private Long orderId;
    /**
     * 产品线编号
     */
    @TableField("line_id")
    private Long lineId;

    @TableField("item_id")
    private String itemId;

    @TableField("title")
    private String title;

    /**
     * 产品子代码
     */
    @TableField("sub_code")
    private String subCode;

    @TableField("image_id")
    private String imageId;

    @TableField("category_id")
    private Integer categoryId;

    @TableField("product_id")
    private String productId;

    @TableField("unit_price")
    private Double unitPrice;

    @TableField("quantity")
    private Integer quantity;
    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("delete_time")
    private Date deleteTime;


    @TableField("delete_flag")
    @TableLogic
    private Integer deleteFlag;
}
